package com.inno.subject.controller.convert;

import com.inno.subject.controller.dto.SubjectRecordsDTO;
import com.inno.subject.domain.entity.SubjectRecordsBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectRecordsDTOConverter {
    SubjectRecordsDTOConverter INSTANCE = Mappers.getMapper(SubjectRecordsDTOConverter.class);

    SubjectRecordsBO convertDTOToBO(SubjectRecordsDTO subjectRecordsDTO);

    List<SubjectRecordsDTO> convertBOListToDTOList(List<SubjectRecordsBO> list);
}
